package com.rentong.wx.cust.service;

import com.rentong.wx.cust.domain.WxCustUser;
import com.rentong.wx.cust.dto.AddInsertInformationDto;
import com.rentong.wx.cust.dto.CustServiceOrderPingjiaEntityDto;
import com.rentong.wx.cust.dto.WxCustUserDto;
import com.rentong.wx.cust.dto.WxUserInfo;

import java.util.List;

/**
 * @Author: zhangle
 * @Description:
 * @Date: 2018/5/14 13:20
 */
public interface WxCustUserService {
    /** 注册手机号 **/
    WxUserInfo registerByPhone(String code, String phone, String phoneCode) throws Exception;

    /** 获取用户信息 **/
    WxUserInfo getCustInfo(String oldToken) throws Exception;

    WxCustUserDto getUserInfo(WxCustUser wxCustUser);

    Integer updateInformation(AddInsertInformationDto addInsertInformationDto);

    List<WxCustUserDto> getChefList(WxCustUserDto wxCustUserDto);

    void updateBizInfo(WxCustUser wxCustUser);

    WxCustUserDto getChefDetailChefInfo(WxCustUserDto wxCustUserDto);

    List<CustServiceOrderPingjiaEntityDto> getChefDetailServicePingjia(WxCustUserDto wxCustUserDto);

    void updateUserPicByCustId(WxCustUser wxCustUser);

    WxCustUserDto getChefServiceIntroduce(WxCustUser wxCustUser);




}
